# Description :  KDE5 için hızlı ve basit bir resim görüntüleme aracı
# URL: https://www.kde.org/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: qt5 kf5-extra-cmake-modules phonon-qt5 kf5-kio kf5-kactivities kf5-kdelibs4support libjpeg-turbo libpng exiv2 lcms2 kf5-baloo hicolor-icon-theme libkdcraw libkipi

name=gwenview
version=16.08.2
release=1
source=(http://download.kde.org/stable/applications/$version/src/$name-$version.tar.xz)

build() {
cd $name-$version
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_INSTALL_DIR=lib       \
      -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo" \
      -DBUILD_TESTING=OFF         \
      -Wno-dev

make
make DESTDIR=$PKG install
}
